package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Employee;

/**
 * 员工业务层接口
 * @author ghy
 * @version v1.0
 * create on 2022/11/15 14:57
 */
public interface EmployeeService extends IService<Employee> {

    /**
     * 保存员工
     * @param employee
     * @return
     */
    R add(Employee employee, Long employeeId);

    /**
     * 修改员工
     * @param employee
     * @param employeeId
     * @return
     */
    R modify(Employee employee, Long employeeId);

}
